package org.fly.jingwei.dao;

import org.fly.jingwei.entity.CarteInfoEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * @author leo
 * @date 2017/3/17
 */
@Repository
public interface CarteInfoDao {

    void insertCarteInfo(CarteInfoEntity carteInfo);

    List<CarteInfoEntity> getAllSlaveQuato(String minDate, String maxDate);

    List<CarteInfoEntity> getSlaveQuatoBySlaveId(String minDate, String maxDate, Integer slaveId);

    List<CarteInfoEntity> slaveQuatoByAvg(String minDate, String maxDate, Integer slaveId);

    List<CarteInfoEntity> slaveQuatoByMax(String minDate, String maxDate, Integer slaveId);
}
